﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Customer.aspx.cs" Inherits="eCommerce.cms.Customer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
    
        #hor-minimalist-b
        {
	        font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	        font-size: 12px;
	        background: #fff;
	        margin: 45px;
	        width: 480px;
	        border-collapse: collapse;
	        text-align: left;
        }
        #hor-minimalist-b th
        {
	        font-size: 14px;
	        font-weight: normal;
	        color: #039;
	        padding: 10px 8px;
	        border-bottom: 2px solid #6678b1;
        }
        #hor-minimalist-b td
        {
	        border-bottom: 1px solid #ccc;
	        color: #669;
	        padding: 6px 8px;
        }
        #hor-minimalist-b tbody tr:hover td
        {
	        color: #009;
        }

    </style>
</head>
<body>
    <form id="form1" runat="server">    

    <table id="hor-minimalist-b">
        <thead>
    	    <tr>
        	    <td>STT</td>
                <td>Mã</td>
                <td>Tên khách hàng</td>
                <td>Số điện thoại</td>
                <td>Tổng tiền</td>
            </tr>
        </thead>
    <asp:Repeater ID="rptCustomer" runat="server" OnItemDatabound="rptCustomer_ItemDataBound">
    <ItemTemplate>
        <asp:HiddenField ID="hfCustomerId" Value='<%# Eval("CustomerId")  %>' runat="server"/>
        <tr>
            <td><%# Container.ItemIndex + 1 %></td>
            <td><%# Eval("CustomerId") %></td>
            <td><%# Eval("ContactName") %></td>
            <td><%# Eval("Phone") %></td>
            <td><asp:Literal ID="ltTotalMoney" runat="server"/></td>
        </tr>        
    </ItemTemplate>
    </asp:Repeater>
    </table>

    </form>
</body>
</html>
